package com.windea.breezeframework.fxgl.extensions.dsl

import com.almasb.fxgl.dsl.*

/**Add various properties for this entity.*/
fun EntityBuilder.with(vararg properties: Pair<String, Any>) = this.also {
	//properties.forEach { (k, v) -> entity.setProperty(k, v) }
	properties.forEach { (k, v) -> this.with(k, v) }
}
